#header,
#page {
    max-width: 640px;
    margin: 0 auto
}

html {
    background-color: #f5f5f5;
    color: #333;
    min-width: 320px
}

blockquote,
body,
button,
dd,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
input,
legend,
li,
ol,
p,
pre,
select,
td,
textarea,
th,
ul {
    margin: 0;
    padding: 0
}

body,
button,
input,
select,
textarea {
    font: 14px/1.4 "Microsoft YaHei", arial;
    -webkit-text-size-adjust: none
}

.iconfont,
address,
cite,
em,
i,
var {
    font-style: normal
}

ol,
ul {
    list-style: none
}

img {
    border: 0;
    vertical-align: middle
}

button,
input,
select,
textarea {
    font-size: 100%;
    outline: 0;
    resize: none;
    border-radius: 0;
    -webkit-appearance: none
}

input[type=number]::-webkit-inner-spin-button {
    display: none
}

iframe {
    display: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    font-size: 100%
}

a,
a:visited {
    text-decoration: none;
    color: #222
}

a {
    -webkit-tap-highlight-color: transparent;
    tab-highlight-color: transparent
}

.cle:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: '\20';
    clear: both;
    height: 0
}

#header .bd,
.flex {
    display: -webkit-box
}

::selection {
    background: #ff666b;
    color: #fff
}

.red {
    color: #ff666b
}

.green {
    color: #05c481
}

.blue {
    color: #09f
}

.gray {
    color: #999
}

.tc {
    text-align: center
}

.tr {
    text-align: right
}

@font-face {
    font-family: lizi;
    src: url(//at.alicdn.com/t/font_1457769543_059663.eot);
    src: url(//at.alicdn.com/t/font_1457769543_059663.eot?#iefix) format('embedded-opentype'), url(//at.alicdn.com/t/font_1457769543_059663.woff) format('woff'), url(//at.alicdn.com/t/font_1457769543_059663.ttf) format('truetype'), url(//at.alicdn.com/t/font_1457769543_059663.svg#iconfont) format('svg')
}

.iconfont {
    font-family: lizi;
    font-size: 100%;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.loading {
    background: url(https://s02.lizi.com/images/pc/loading-lizi.gif) center center no-repeat
}

#data_loading {
    width: 40px;
    height: 40px;
    border-radius: 22px;
    background-color: #fff;
    z-index: 2;
    margin: 10px auto;
    box-shadow: 0 0 3px rgba(100, 100, 100, .3);
    opacity: .8
}

#header .bd,
#header .bd a {
    height: 44px;
    color: #fff;
    text-align: center
}

#header .bd {
    background-color: #ff666b;
    line-height: 44px
}

#header .bd a {
    display: block;
    width: 44px;
    font-size: 18px
}

#header .bd a:visited {
    color: #fff
}

#footer,
#footer a {
    color: #999
}

#header .bd a:active {
    background-color: #f66368
}

#header .bd h2 {
    -webkit-box-flex: 1;
    font-size: 16px
}

body,
html {
    height: 100%;
    width: 100%
}

#page {
    background: #fff;
    padding-bottom: 200px
}

#footer {
    margin-top: 20px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background-color: #f5f5f5;
    text-align: center;
    font-size: 12px
}

#footer .copyright {
    padding: 10px 0
}

#footer .copyright p {
    padding-bottom: 8px
}

.btn,
.btn2,
.btn2:visited,
.btn:visited {
    display: block;
    padding: 12px 12px 13px;
    height: 20px;
    line-height: 20px;
    font-size: 100%;
    color: #fff;
    background-color: #ff666b;
    vertical-align: middle;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-align: center
}

.btn img {
    vertical-align: -2px
}

.btn:active {
    background-color: #f66368
}

.btn2,
.btn2:active,
.btn2:visited {
    background-color: #000
}

input.text {
    border: 1px solid #d8d8da;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    font-size: 100%
}

#dg-confirm .dg_body .btm a.graybtn,
#dg_box .dg_btm a.graybtn {
    border-right: 1px solid #fff
}

#dg-tip {
    position: fixed;
    z-index: 9999;
    bottom: 10%;
    left: 10%;
    width: 80%;
    padding: 10px 0;
    text-align: center;
    color: #fff;
    display: none;
    background: rgba(0, 0, 0, .8);
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
    line-height: 22px
}

#dg-confirm,
.page_loading {
    left: 0;
    height: 100%;
    -webkit-box-pack: center;
    position: fixed;
    top: 0;
    -webkit-box-orient: vertical
}

#dg-confirm,
#dg-confirm .dg_body .btm {
    display: -webkit-box
}

#dg-confirm {
    z-index: 9998;
    width: 100%;
    background: rgba(0, 0, 0, .2)
}

#dg-confirm .dg_body {
    width: 280px;
    padding: 1px;
    margin: -60px auto 0;
    overflow: hidden;
    background: #fff;
    text-align: center;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .5)
}

#fixed_cart em,
.global_fixed {
    box-shadow: 1px 1px 4px rgba(0, 0, 0, .3)
}

#dg-confirm .dg_body .dg_box {
    padding: 25px 15px 30px
}

#dg-confirm .dg_body .dg_box .iconfont {
    font-size: 26px;
    vertical-align: middle;
    margin-right: 10px
}

#dg-confirm .dg_body .btm a {
    padding: 10px 0 8px;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-flex: 1;
    display: block;
    color: #fff
}

#dg-confirm.pop_in .dg_body {
    -webkit-animation: pop_in .5s
}

#dg-confirm.pop_out .dg_body {
    -webkit-animation: pop_out .3s;
    opacity: 0
}

@-webkit-keyframes pop_in {
    0% {
        -webkit-transform: scale(.6);
        opacity: 0
    }
    50% {
        -webkit-transform: scale(1.05);
        opacity: 1
    }
    100% {
        -webkit-transform: scale(1);
        opacity: 1
    }
}

@-webkit-keyframes pop_out {
    0% {
        -webkit-transform: scale(1);
        opacity: 1
    }
    50% {
        -webkit-transform: scale(1.05);
        opacity: 1
    }
    100% {
        -webkit-transform: scale(.6);
        opacity: 0
    }
}

.page_loading {
    z-index: 9999;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, .2);
    display: -webkit-box
}

.page_loading .bd {
    width: 100px;
    height: 95px;
    margin: -60px auto 0;
    overflow: hidden;
    background: rgba(0, 0, 0, .8);
    -webkit-border-radius: 10px;
    border-radius: 10px;
    text-align: center
}

.page_loading .bd h4 {
    padding-top: 5px;
    color: #ff666b
}

.css3loading {
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 10px auto 0;
    -webkit-animation: loading 1.3s linear infinite;
    color: #ff666b
}

.css3loading i {
    font-size: 50px
}

@-webkit-keyframes loading {
    100% {
        -webkit-transform: rotate(-360deg)
    }
}

.global_fixed {
    position: fixed;
    bottom: 55px;
    z-index: 5000;
    width: 40px;
    height: 40px;
    border-radius: 25px;
    background: rgba(255, 102, 107, .9);
    text-align: center;
    display: none
}

.global_fixed i {
    font-size: 24px;
    line-height: 40px;
    color: #fff
}

#fixed_cart {
    left: 10px
}

#fixed_cart em {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    padding: 2px 4px;
    font-size: 12px;
    background-color: #fff;
    color: #ff666b;
    border-radius: 40px;
    line-height: 1
}

#fixed_2top {
    right: 10px;
    background: rgba(0, 0, 0, .4)
}

#fixed_2top i {
    font-size: 20px
}

.app_tip {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(0, 0, 0, .6);
    height: 40px;
    padding: 6px 0;
    overflow: hidden
}

.app_tip .bd {
    margin: 0 100px 0 30px;
    height: 38px;
    padding-top: 2px;
    font-size: 14px;
    color: #fff
}

.app_tip .bd img {
    vertical-align: middle;
    width: 38px;
    height: 38px;
    border-radius: 5px;
    margin-right: 5px
}

.app_tip .btn {
    position: absolute;
    right: 7px;
    top: 8px;
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    padding: 3px 10px;
    font-size: 14px
}

.app_tip .close {
    position: absolute;
    top: -25px;
    left: -25px;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: rgba(0, 0, 0, .5);
    color: #eee
}

.app_tip .close i {
    position: absolute;
    right: 10px;
    top: 26px
}

#dg_box {
    position: fixed;
    z-index: 9000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .2);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-box-pack: center
}

#dg_box .dg_body {
    width: 280px;
    padding: 1px;
    margin: -60px auto 0;
    overflow: hidden;
    background: #fff;
    text-align: center;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .5)
}

#dg_box .dg_con {
    padding: 10px
}

#dg_box .dg_btm {
    display: -webkit-box;
    padding-top: 10px
}

#dg_box .dg_btm a {
    padding: 10px 0 8px;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-box-flex: 1;
    display: block;
    color: #fff
}

.imageCode_dg p {
    padding-top: 15px
}

.imageCode_dg input {
    vertical-align: middle;
    width: 80px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(200, 200, 200, .3) inset;
    background-color: #fff
}

.imageCode_dg img {
    vertical-align: middle;
    margin: 0 8px
}

.imageCode_dg a {
    font-size: 12px;
    color: #09f
}

.blank {
    text-align: center;
    color: #9e9e9e;
    margin-top: 50px
}

.blank i {
    display: block;
    font-size: 7em
}
